package com.cf.demo.pojo;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import lombok.Data;

/**
 * @Description:
 * @Author: chengfei
 * @Date: 2021/10/25
 */
@Data
@Table(name = "user")
public class User {

    @Id
    private String id;
    @Column
    private String username;
    @Column
    private String phone;
    @Column
    private String icon;

    @Transient
    private Date queryTime = new Date();

}
